package com.decorator.demo2;

/**
 * 具体装饰
 *
 * @author zhangsulei
 *
 */
public class Bus extends DecoratorCar {
	public Bus(Car car) {
		super(car);
	}

	@Override
	public void create() {
		super.create();
		change();
	}

	@Override
	void change() {
		System.out.println("it's a bus.");
	}
}